Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 2 - Control Manager Reference / Control Manager Types and Constants


Meta Font Constants

NEW WITH THE APPEARANCE MANAGER

You can use these constants in the font field of the control font style structure and the Font ID field of a dialog font table resource to specify the style, size, and font family of the control font. You should use these meta font constants whenever possible because the system font can change, depending upon the current theme. If none of these constants are specified, the control uses the system font unless directed to use a window font by a control variant.

enum {
   kControlFontBigSystemFont       = -1, 
   kControlFontSmallSystemFont     = -2,  
   kControlFontSmallBoldSystemFont = -3 
};

Constant descriptions

kControlFontBigSystemFont
Use the system font.
kControlFontSmallSystemFont
Use the small system font.
kControlFontSmallBoldSystemFont
Use the small emphasized system font (emphasis applied correctly for locale).

Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998